*{
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: "Avenir Next";
    height: 100%;
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
}

.header{
    background-image:url("");
    background-size:cover;
    padding:0 0 250px 0px;
    opacity: 1;
	/*animation: fadein-anim 0.6s linear forwards;*/
}

@keyframes fadein-anim {
	100% {
		opacity: 1;
	}
}
@keyframes fadein-anim-bg {
	100% {
		opacity: 0;
	}
}

.header-logo-img{
    position: absolute;
    top:3px;
    left:3px;
    height:50px;
}

.header-headline{
    border-bottom: 0px solid #dee7ec;
    position:absolute;
    top:100px;
    left:150px;
    padding: 0px 70px 10px 0px;
    background-color:rgb(104, 216, 192, 0);
    color:white;
}

.header-headline h1{
    font-size: 50px;
    display:block;
    opacity: 0;
	animation: fadein-anim 0.6s linear forwards;
    text-shadow: 2px 2px 0 rgb(43, 43, 43);
    border-bottom: 2px solid #dee7ec;
}




/*-------メイン-------*/
.main{
    font-size: 18px;
    color:white;
    padding: 0px 240px 100px 150px;
    border-bottom: 0px solid #dee7ec;
    opacity: 0;
    animation: fadein-anim 2s linear forwards;
    animation-delay: 0.1s;
    text-shadow: 2px 2px 0 rgb(43, 43, 43);
}



.footer{
    width: 100%;
    background-color: #89c7de;
    color: #fff;
    text-align: center;
    padding:0;
    position: absolute;
    bottom: 0;
    margin-top: auto;
}



/* タブレット向けレイアウト */
@media(max-width:1025px){
    .header{
        padding:0 0 250px 0px;
    }
    .header-logo-img{
        height:30px;
    }
    .header-headline{
        position:absolute;
        top:70px;
        left:50px;
        padding: 0px 0px 0px 0px;
    }
    .header-headline h1{
        font-size: 42px;
    }
    .main{
        font-size: 16px;
        color:white;
        padding: 0px 48px 150px 54px;
    }
    .main h2{
        font-size: 25px;
        text-shadow: 1.3px 1.3px 0 rgb(43, 43, 43);
    }
}

/* スマートフォン向けレイアウト */
@media(max-width:750px){
    .header{
        padding:0 0 180px 0px;
    }
    .header-logo-img{
        height:20px;
        top:0px;
        left:0px;
    }
    .header-headline{
        position:absolute;
        top:60px;
        left:30px;
        padding: 0px 0px 0px 0px;
    }
    .header-headline h1{
        font-size: 36px;
    }
    .main{
        color:white;
        padding: 0px 30px 150px 30px;
    }
    .main h2{
        font-size: 15px;
        text-shadow: 1px 1px 0 rgb(43, 43, 43);
    }
}